Search results

Types

Classes
Interfaces
Enums
Functions
Type aliases
Constants

Members

Properties
Methods
Getters
Setters
Enum members
Show privates

Other

In this module only

Class AmongUsProcess

Defined in AmongUsProcess.ts

extends NodeJS.EventEmitterexternal item NodeJS.EventEmitter

Constructor

constructor(
settings: Partialexternal item Partial<AmongUsProcessSettingsinterface AmongUsProcessSettingsAmongUsProcessSettings>,
process: MemoryJS.ProcessObject,
asm: MemoryJS.ModuleObject
)

    Properties

    process: MemoryJS.ProcessObject
    asm: MemoryJS.ModuleObject
    addresses: AddressDatainterface AddressDatautil/AddressData
    settings: AmongUsProcessSettingsinterface AmongUsProcessSettingsAmongUsProcessSettings
    game: Gameclass GameStructures/Game

    Methods

    static all(settings: Partialexternal item Partial<AmongUsProcessSettingsinterface AmongUsProcessSettingsAmongUsProcessSettings> = {}): Arrayexternal item Array<AmongUsProcessclass AmongUsProcessAmongUsProcess>

      Gets all open among us processes. This should be ran once.

      static scan(
      cb: ScanCallbacktype ScanCallbackScanCallback,
      settings: Partialexternal item Partial<AmongUsProcessSettingsinterface AmongUsProcessSettingsAmongUsProcessSettings> = {},
      interval = 1000,
      cancelOnFirstFind = true
      )
      : void

        Scan for among us processes. The callback will be executed when a new process is found.

        Example:

        AmongUsProcess.scan(process => {
        console.log("Found a new among us process!");
        console.log(process.game);
        });
        static getVersion(): string | null

          Get the current version of among us that is installed.

          offsetAddress(address: number, offsets: number[]): number
            readMemory<T>(
            dataType: MemoryJS.DataType,
            address: number,
            offsets: number[],
            defaultParam?: Ttype parameter T
            )
            : Ttype parameter T